Get User ExtraField Validation Detail
GET : http://<base_url>/digipay/v3/user/user_extrafield_validation/{id}
This API is used to get new user extra field validation data into the system.
PATH PARAMS:-
Parameter | Type | Description | Value |
---|---|---|---|
id | String | a unique id assign to user to retrive to user extra field validation detail | 4bc6ba63954641c8976488be871fd41a |
HEADERS:-
Parameter | Type | Description | Value |
---|---|---|---|
Authorization | String | It is a combination of type and token to authenticate user for the given token | Token duik7309njdlkhdauhknksadhjkas986876sd873j |
CompanyID | String | Company_id is a unique primary id, that is represent company detail | 76bc712200ca444fa334f9e55e5fd7a8 |
Request Body:-
Request Example
curl --request GET \
--url http://192.168.1.102:8014/digipay/v3/user/user_extrafield_validation/4bc6ba63954641c8976488be871fd41a \
--header 'Authorization: Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2NWY0ZDI1MDliZmU0NTBmYTg4MTVhNTU5Njk3YmM0NyIsInJvbGVzIjpbIlJPTEVfQURNSU4iXSwiZXhwIjoxNjkzNTIxOTU1fQ.9oWwUzlFzmYB1ZOhaVamxKJH6DsMO8tFue2kbg2YyoI' \
--header 'CompanyID: 76bc712200ca444fa334f9e55e5fd7a8' \
--header 'accept: application/json'
Response:-
Response 200(OK)
{
"success": 1,
"error": [],
"data": {
"user_extrafield_validation": {
"is_active": true,
"created_by": "9bd4be3864134c828788bf14962f6c34",
"created_date": 1674023327,
"updated_by": "9bd4be3864134c828788bf14962f6c34",
"updated_date": 1674023430,
"id": "3fc74f71099149afa5d97be50f571b5e",
"extra_field_key": "DigiPay",
"field_validation_key": "ffsdafs",
"field_validation_value": "Output",
"field_validation_min": 40.4,
"field_validation_max": 30.4,
"field_validation_error": "error"
}
}
}
Response 400(BAD REQUEST)
{
"success": 0,
"error"": [1],
"data": {
"message": "BAD_REQUEST",
}
}
RESPONSES :-
Status Code | Description |
---|---|
200 | OK |
400 | BAD REQUEST |
404 | NOT FOUND |
500 | INTERNAL SERVER ERROR |